package flc.ast.fragment;

import android.os.Bundle;

import androidx.annotation.Nullable;
import androidx.databinding.ViewDataBinding;

import flc.ast.activity.SingleResultActivity;
import stark.common.basic.base.BaseNoModelFragment;

/**
 * @Author: XiaoDan
 * @Date: 2024/6/18
 * @Description:
 */
public abstract class BaseEditFragment<DB extends ViewDataBinding> extends BaseNoModelFragment<DB> {
    protected SingleResultActivity mSingleResultActivity;

    @Override
    public void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        mSingleResultActivity = (SingleResultActivity) getActivity();
    }

    public abstract void onShow();

    public abstract void backToMain();
}
